package goods.service.impl;

import org.springframework.stereotype.Component;

import common.model.result.Result;      
import common.model.result.ResultCodeEnum;
import goods.service.UserServiceFeignClient;

@Component
public class UserServiceFeignClientFallback implements UserServiceFeignClient {
    @Override
    public Result getUserById(Long userId) {
        return Result.failure(ResultCodeEnum.FAIL, "获取用户信息失败");
    }
}
